#include "namedPipe.hpp"

// write
int main()
{
    NamePipe myfifo(comm_path, User);
    if (myfifo.OpenForWrite())
    {
        while (true)
        {
            std::cout << "Please enter>";
            std::string massage;
            std::getline(std::cin,massage);
            myfifo.WritePipe(massage);
        }
    }
    return 0;
}